package com.example.expandablelistview.br;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import com.example.expandablelistview.R;

public class DetectFree extends Activity {
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.br_detectfree);
		
		findViewById(R.id.broadcast_wifi).setOnClickListener(new View.OnClickListener() {
			public void onClick(View v) {
				Intent intent = new Intent("FREEWIFI");
				intent.putExtra("BroadCast", "WiFi 가능지역");
				sendBroadcast(intent);				
			}
		});
	}
}
